<?php
require_once 'Zend/Form/Element/Reset.php';

/**
 * Reset form element that encapsulates all necessary processing logic,
 * including localization, view helpers and so forth.
 * 
 * @author Michael Krotscheck
 */

class Core_Form_Element_Reset extends Zend_Form_Element_Reset
{
	/**
	 * Object initialization method.
	 */
	public function init()
	{
		$this->addDecorator( 'ViewHelper' );
		$this->addDecorator( 'HtmlTag', array( 'tag' => 'dt' ) );
		$this->addFilter( 'StringTrim' );
	}
}